import apiRequest from '@/utils/apiRequest'
import qs from 'qs'

export function login(param) {
  return apiRequest.post('/api/login',(param), {}, { showLoading: false, showError: false })
}

export function refurbishCode(param) {
  return apiRequest.get('/login/refurbishCode', param, { showLoading: false })
}

export function editLoginUserInfo(param) {
  return apiRequest.post('/login/editLoginUserInfo', param)
}

export function logout(param) {
  return apiRequest.get('/login/logout', param)
}
